a = [i for i in range(1, 18)]
print(a)

# i 11 控制每个元素的值是多少

b = [11 for i in range(1, 18)]  # for i in range(1, 18) 控制循环的次数
print(b)
print(len(b))

b = [i for i in range(10, 18)]  # for i in range(1, 18) 控制循环的次数
print(b)  # [10, 11, 12, 13, 14, 15, 16, 17]
print(len(b))

d = [(i, j) for i in range(3) for j in range(2)]
print(d)

e = [(i, j, k) for i in range(3) for j in range(2) for k in range(3)]
print(e)

c = []

i = 10
while i <= 77:
    c.append(i)
    i += 1

print(c)
